# _*_ coding: utf-8 _*_
from odoo import models, fields, api


class ProcurementOrder(models.Model):
    _inherit = "procurement.order"

    production_track_number = fields.Char("Track Number")

    def _prepare_mo_vals(self, bom):
        vals = super(ProcurementOrder, self)._prepare_mo_vals(bom)
        vals["track_number"] = self.production_track_number
        return vals
